package com.sporadic.backstage.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 商家信息类
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("merchant")
public class Merchant {
    @TableId(value = "m_id",type = IdType.AUTO)
    private Integer mId;//商家主键id
    @TableField("m_userName")
    private String mUserName;//商家店铺名称
    @TableField("m_password")
    private String mPassword;//商家密码
    @TableField("m_type")
    private Integer mType;//商家类型
    @TableField("m_tel")
    private String mTel;//商家电话
    @TableField("m_name")
    private String mName;//商家店长真实姓名
    @TableField("m_des")
    private String mDes;//商家店铺描述
    @TableField("m_address")
    private String mAddress;//商家地址
    @TableField("m_state")
    private Integer m_state;//商家营业状态
}
